package com.ebocy.hammer.game.message;

import com.ebocy.hammer.core.constants.GameMessageCode;
import com.ebocy.hammer.core.message.AbstractS2CMessage;

public class S2CShopOperation extends AbstractS2CMessage {
	private String gamePlayerItemId;

	public S2CShopOperation(long gamePlayerItemId) {
		this.gamePlayerItemId=String.valueOf(gamePlayerItemId);
	}

	@Override
	public short getMessageCode() {
		return GameMessageCode.GAME_SHOP_OPERATION;
	}

	@Override
	protected void writeMessage() {
		writeString(gamePlayerItemId);
	}

}
